<?php

class Hash{

	static function hash_passwd($passwd){
		return hash(C('HASH_METHOD'), C('SECRET_PREFIX') . $passwd . C('SECRET_POSTFIX'));
	}
}
